<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>aws-crt-cpp: /home/ANT.AMAZON.COM/dengket/doc/aws-crt-cpp/include/aws/crt/auth/Sigv4Signing.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">aws-crt-cpp
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_076842b242c291358044feb169933571.html">aws</a></li><li class="navelem"><a class="el" href="dir_cc4322e4b2151c90adb7cd2e3f54423a.html">crt</a></li><li class="navelem"><a class="el" href="dir_1c1b7215ba3c1921bc48512504dbf020.html">auth</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">Sigv4Signing.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="Sigv4Signing_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Copyright 2010-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * Licensed under the Apache License, Version 2.0 (the &quot;License&quot;).</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * You may not use this file except in compliance with the License.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * A copy of the License is located at</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *  http://aws.amazon.com/apache2.0</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * or in the &quot;license&quot; file accompanying this file. This file is distributed</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * express or implied. See the License for the specific language governing</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * permissions and limitations under the License.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160; </div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="Exports_8h.html">aws/crt/Exports.h</a>&gt;</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160; </div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="DateTime_8h.html">aws/crt/DateTime.h</a>&gt;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="Types_8h.html">aws/crt/Types.h</a>&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="Signing_8h.html">aws/crt/auth/Signing.h</a>&gt;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160; </div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keyword">struct </span>aws_signer;</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">struct </span>aws_signing_config_aws;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceAws.html">Aws</a></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;{</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    <span class="keyword">namespace </span>Crt</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    {</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;        <span class="keyword">namespace </span>Auth</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;        {</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;            <span class="keyword">class </span>Credentials;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;            <span class="keyword">class </span>ICredentialsProvider;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160; </div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="namespaceAws_1_1Crt_1_1Auth.html#a0bb6cb21cf640b39af9e036cfeecdca5">   35</a></span>&#160;            <span class="keyword">enum class</span> <a class="code" href="namespaceAws_1_1Crt_1_1Auth.html#a0bb6cb21cf640b39af9e036cfeecdca5">SigningAlgorithm</a></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;            {</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;                <a class="code" href="namespaceAws_1_1Crt_1_1Auth.html#a0bb6cb21cf640b39af9e036cfeecdca5a49e95486bf9a31c0b981a0889a93ecf4">SigV4Header</a> = AWS_SIGNING_ALGORITHM_SIG_V4_HEADER,</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;                <a class="code" href="namespaceAws_1_1Crt_1_1Auth.html#a0bb6cb21cf640b39af9e036cfeecdca5ae92bb8cf212f7d4373ad544f85127da7">SigV4QueryParam</a> = AWS_SIGNING_ALGORITHM_SIG_V4_QUERY_PARAM,</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160; </div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;                <a class="code" href="namespaceAws_1_1Crt_1_1Auth.html#a0bb6cb21cf640b39af9e036cfeecdca5ae93f994f01c537c4e2f7d8528c3eb5e9">Count</a> = AWS_SIGNING_ALGORITHM_COUNT</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;            };</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="namespaceAws_1_1Crt_1_1Auth.html#a2dae3616cc28c9641c037670522fa82f">   43</a></span>&#160;            <span class="keyword">enum class</span> <a class="code" href="namespaceAws_1_1Crt_1_1Auth.html#a2dae3616cc28c9641c037670522fa82f">BodySigningType</a></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;            {</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;                <a class="code" href="namespaceAws_1_1Crt_1_1Auth.html#a2dae3616cc28c9641c037670522fa82fa17ab50670d700559bf55dcbb5502beab">NoSigning</a> = AWS_BODY_SIGNING_OFF,</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;                <a class="code" href="namespaceAws_1_1Crt_1_1Auth.html#a2dae3616cc28c9641c037670522fa82fae2e7451290556296174fcf51aa9e04b5">SignBody</a> = AWS_BODY_SIGNING_ON,</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;                <a class="code" href="namespaceAws_1_1Crt_1_1Auth.html#a2dae3616cc28c9641c037670522fa82fa480ddd271dcdbffedbeb497c620d9ecc">UnsignedPayload</a> = AWS_BODY_SIGNING_UNSIGNED_PAYLOAD</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;            };</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="namespaceAws_1_1Crt_1_1Auth.html#ab868555de9b6145263d1f942033fdf5e">   50</a></span>&#160;            <span class="keyword">using</span> <a class="code" href="namespaceAws_1_1Crt_1_1Auth.html#ab868555de9b6145263d1f942033fdf5e">ShouldSignParameterCb</a> = bool (*)(<span class="keyword">const</span> <a class="code" href="namespaceAws_1_1Crt.html#a14ac076b0baa520bccb2b7236e4e78b7">Crt::ByteCursor</a> *, <span class="keywordtype">void</span> *);</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160; </div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classAws_1_1Crt_1_1Auth_1_1AwsSigningConfig.html">   56</a></span>&#160;            <span class="keyword">class </span><a class="code" href="Exports_8h.html#a0a3f6c46aee6b588ce99a142cdb22d1d">AWS_CRT_CPP_API</a> <a class="code" href="classAws_1_1Crt_1_1Auth_1_1AwsSigningConfig.html">AwsSigningConfig</a> : <span class="keyword">public</span> <a class="code" href="classAws_1_1Crt_1_1Auth_1_1ISigningConfig.html">ISigningConfig</a></div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;            {</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;              <span class="keyword">public</span>:</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;                <a class="code" href="classAws_1_1Crt_1_1Auth_1_1AwsSigningConfig.html">AwsSigningConfig</a>(<a class="code" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *allocator = <a class="code" href="namespaceAws_1_1Crt.html#a7178ef65f261a8db52a624458331bbb2">g_allocator</a>);</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;                <span class="keyword">virtual</span> ~<a class="code" href="classAws_1_1Crt_1_1Auth_1_1AwsSigningConfig.html">AwsSigningConfig</a>();</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classAws_1_1Crt_1_1Auth_1_1AwsSigningConfig.html#aaf9b0dd90f5a8cb580bd6ad76cab5b72">   62</a></span>&#160;                <span class="keyword">virtual</span> <a class="code" href="namespaceAws_1_1Crt_1_1Auth.html#a1ffa3d1dd5b6b4b4c917b5fff2a00bf1">SigningConfigType</a> <a class="code" href="classAws_1_1Crt_1_1Auth_1_1AwsSigningConfig.html#aaf9b0dd90f5a8cb580bd6ad76cab5b72">GetType</a>() const noexcept<span class="keyword"> override </span>{ <span class="keywordflow">return</span> <a class="code" href="namespaceAws_1_1Crt_1_1Auth.html#a1ffa3d1dd5b6b4b4c917b5fff2a00bf1acc92a89d16aa4fe64e36cbbd7c0cfaac">SigningConfigType::Aws</a>; }</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160; </div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;                <a class="code" href="namespaceAws_1_1Crt_1_1Auth.html#a0bb6cb21cf640b39af9e036cfeecdca5">SigningAlgorithm</a> GetSigningAlgorithm() const noexcept;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;                <span class="keywordtype">void</span> SetSigningAlgorithm(<a class="code" href="namespaceAws_1_1Crt_1_1Auth.html#a0bb6cb21cf640b39af9e036cfeecdca5">SigningAlgorithm</a> algorithm) noexcept;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160; </div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;                const Crt::<a class="code" href="namespaceAws_1_1Crt.html#a865381ab2bc5db45524fa6ce43c394c3">String</a> &amp;GetRegion() const noexcept;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160; </div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;                <span class="keywordtype">void</span> SetRegion(const Crt::<a class="code" href="namespaceAws_1_1Crt.html#a865381ab2bc5db45524fa6ce43c394c3">String</a> &amp;region) noexcept;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160; </div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;                const Crt::<a class="code" href="namespaceAws_1_1Crt.html#a865381ab2bc5db45524fa6ce43c394c3">String</a> &amp;GetService() const noexcept;</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160; </div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;                <span class="keywordtype">void</span> SetService(const Crt::<a class="code" href="namespaceAws_1_1Crt.html#a865381ab2bc5db45524fa6ce43c394c3">String</a> &amp;service) noexcept;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160; </div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;                <a class="code" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> GetSigningTimepoint() const noexcept;</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160; </div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;                <span class="keywordtype">void</span> SetSigningTimepoint(const <a class="code" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;date) noexcept;</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160; </div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;                <span class="comment">/*</span></div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;<span class="comment">                 * We assume the uri will be encoded once in preparation for transmission.  Certain services</span></div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="comment">                 * do not decode before checking signature, requiring us to actually double-encode the uri in the</span></div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="comment">                 * canonical request in order to pass a signature check.</span></div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<span class="comment">                 */</span></div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160; </div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;                <span class="keywordtype">bool</span> GetUseDoubleUriEncode() const noexcept;</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160; </div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;                <span class="keywordtype">void</span> SetUseDoubleUriEncode(<span class="keywordtype">bool</span> useDoubleUriEncode) noexcept;</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160; </div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;                <span class="keywordtype">bool</span> GetShouldNormalizeUriPath() const noexcept;</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160; </div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;                <span class="keywordtype">void</span> SetShouldNormalizeUriPath(<span class="keywordtype">bool</span> shouldNormalizeUriPath) noexcept;</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160; </div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;                <a class="code" href="namespaceAws_1_1Crt_1_1Auth.html#ab868555de9b6145263d1f942033fdf5e">ShouldSignParameterCb</a> GetShouldSignParameterCallback() const noexcept;</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160; </div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;                <span class="keywordtype">void</span> SetShouldSignHeadersCallback(<a class="code" href="namespaceAws_1_1Crt_1_1Auth.html#ab868555de9b6145263d1f942033fdf5e">ShouldSignParameterCb</a> shouldSignParameterCb) noexcept;</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160; </div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;                <a class="code" href="namespaceAws_1_1Crt_1_1Auth.html#a2dae3616cc28c9641c037670522fa82f">BodySigningType</a> GetBodySigningType() const noexcept;</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160; </div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;                <span class="keywordtype">void</span> SetBodySigningType(<a class="code" href="namespaceAws_1_1Crt_1_1Auth.html#a2dae3616cc28c9641c037670522fa82f">BodySigningType</a> bodysigningType) noexcept;</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160; </div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;                const std::shared_ptr&lt;<a class="code" href="classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider.html">ICredentialsProvider</a>&gt; &amp;GetCredentialsProvider() const noexcept;</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160; </div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;                <span class="keywordtype">void</span> SetCredentialsProvider(const std::shared_ptr&lt;<a class="code" href="classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider.html">ICredentialsProvider</a>&gt; &amp;credsProvider) noexcept;</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160; </div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;                const struct aws_signing_config_aws *GetUnderlyingHandle() const noexcept;</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160; </div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;              private:</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;                <a class="code" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *m_allocator;</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;                std::shared_ptr&lt;<a class="code" href="classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider.html">ICredentialsProvider</a>&gt; m_credentials;</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;                struct aws_signing_config_aws m_config;</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;                Crt::<a class="code" href="namespaceAws_1_1Crt.html#a865381ab2bc5db45524fa6ce43c394c3">String</a> m_signingRegion;</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;                Crt::<a class="code" href="namespaceAws_1_1Crt.html#a865381ab2bc5db45524fa6ce43c394c3">String</a> m_serviceName;</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;            };</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160; </div>
<div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="classAws_1_1Crt_1_1Auth_1_1Sigv4HttpRequestSigner.html">  179</a></span>&#160;            class <a class="code" href="Exports_8h.html#a0a3f6c46aee6b588ce99a142cdb22d1d">AWS_CRT_CPP_API</a> <a class="code" href="classAws_1_1Crt_1_1Auth_1_1Sigv4HttpRequestSigner.html">Sigv4HttpRequestSigner</a> : public <a class="code" href="classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner.html">IHttpRequestSigner</a></div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;            {</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;              <span class="keyword">public</span>:</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;                <a class="code" href="classAws_1_1Crt_1_1Auth_1_1Sigv4HttpRequestSigner.html">Sigv4HttpRequestSigner</a>(<a class="code" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *allocator = <a class="code" href="namespaceAws_1_1Crt.html#a7178ef65f261a8db52a624458331bbb2">g_allocator</a>);</div>
<div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="classAws_1_1Crt_1_1Auth_1_1Sigv4HttpRequestSigner.html#afa436c35e981ac6ef75cc8820cc24ffe">  183</a></span>&#160;                <span class="keyword">virtual</span> <a class="code" href="classAws_1_1Crt_1_1Auth_1_1Sigv4HttpRequestSigner.html#afa436c35e981ac6ef75cc8820cc24ffe">~Sigv4HttpRequestSigner</a>() = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160; </div>
<div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="classAws_1_1Crt_1_1Auth_1_1Sigv4HttpRequestSigner.html#aa7611bb9aad70da12e29b9fac88a5740">  185</a></span>&#160;                <span class="keywordtype">bool</span> <a class="code" href="classAws_1_1Crt_1_1Auth_1_1Sigv4HttpRequestSigner.html#aa7611bb9aad70da12e29b9fac88a5740">IsValid</a>()<span class="keyword"> const override </span>{ <span class="keywordflow">return</span> <span class="keyword">true</span>; }</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;                <span class="keyword">virtual</span> <span class="keywordtype">bool</span> SignRequest(</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;                    <span class="keyword">const</span> std::shared_ptr&lt;Aws::Crt::Http::HttpRequest&gt; &amp;request,</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;                    <span class="keyword">const</span> <a class="code" href="classAws_1_1Crt_1_1Auth_1_1ISigningConfig.html">ISigningConfig</a> &amp;config,</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;                    <span class="keyword">const</span> <a class="code" href="namespaceAws_1_1Crt_1_1Auth.html#ab4ca80a8fc66d38af49bf5431b5c8ebf">OnHttpRequestSigningComplete</a> &amp;completionCallback) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160; </div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;              <span class="keyword">private</span>:</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;                <a class="code" href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Allocator</a> *m_allocator;</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;            };</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;        } <span class="comment">// namespace Auth</span></div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;    }     <span class="comment">// namespace Crt</span></div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;} <span class="comment">// namespace Aws</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="anamespaceAws_1_1Crt_html_a3c9efb213e2de565038afcfd4f8afcda"><div class="ttname"><a href="namespaceAws_1_1Crt.html#a3c9efb213e2de565038afcfd4f8afcda">Aws::Crt::Allocator</a></div><div class="ttdeci">aws_allocator Allocator</div><div class="ttdef"><b>Definition:</b> StlAllocator.h:25</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_1_1Auth_html_a0bb6cb21cf640b39af9e036cfeecdca5ae93f994f01c537c4e2f7d8528c3eb5e9"><div class="ttname"><a href="namespaceAws_1_1Crt_1_1Auth.html#a0bb6cb21cf640b39af9e036cfeecdca5ae93f994f01c537c4e2f7d8528c3eb5e9">Aws::Crt::Auth::SigningAlgorithm::Count</a></div><div class="ttdeci">@ Count</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_1_1Auth_html_a0bb6cb21cf640b39af9e036cfeecdca5"><div class="ttname"><a href="namespaceAws_1_1Crt_1_1Auth.html#a0bb6cb21cf640b39af9e036cfeecdca5">Aws::Crt::Auth::SigningAlgorithm</a></div><div class="ttdeci">SigningAlgorithm</div><div class="ttdef"><b>Definition:</b> Sigv4Signing.h:36</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_1_1Auth_html_a0bb6cb21cf640b39af9e036cfeecdca5a49e95486bf9a31c0b981a0889a93ecf4"><div class="ttname"><a href="namespaceAws_1_1Crt_1_1Auth.html#a0bb6cb21cf640b39af9e036cfeecdca5a49e95486bf9a31c0b981a0889a93ecf4">Aws::Crt::Auth::SigningAlgorithm::SigV4Header</a></div><div class="ttdeci">@ SigV4Header</div></div>
<div class="ttc" id="aTypes_8h_html"><div class="ttname"><a href="Types_8h.html">Types.h</a></div></div>
<div class="ttc" id="aExports_8h_html_a0a3f6c46aee6b588ce99a142cdb22d1d"><div class="ttname"><a href="Exports_8h.html#a0a3f6c46aee6b588ce99a142cdb22d1d">AWS_CRT_CPP_API</a></div><div class="ttdeci">#define AWS_CRT_CPP_API</div><div class="ttdef"><b>Definition:</b> Exports.h:34</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Auth_1_1ISigningConfig_html"><div class="ttname"><a href="classAws_1_1Crt_1_1Auth_1_1ISigningConfig.html">Aws::Crt::Auth::ISigningConfig</a></div><div class="ttdef"><b>Definition:</b> Signing.h:52</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_1_1Auth_html_a0bb6cb21cf640b39af9e036cfeecdca5ae92bb8cf212f7d4373ad544f85127da7"><div class="ttname"><a href="namespaceAws_1_1Crt_1_1Auth.html#a0bb6cb21cf640b39af9e036cfeecdca5ae92bb8cf212f7d4373ad544f85127da7">Aws::Crt::Auth::SigningAlgorithm::SigV4QueryParam</a></div><div class="ttdeci">@ SigV4QueryParam</div></div>
<div class="ttc" id="aDateTime_8h_html"><div class="ttname"><a href="DateTime_8h.html">DateTime.h</a></div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_1_1Auth_html_a1ffa3d1dd5b6b4b4c917b5fff2a00bf1"><div class="ttname"><a href="namespaceAws_1_1Crt_1_1Auth.html#a1ffa3d1dd5b6b4b4c917b5fff2a00bf1">Aws::Crt::Auth::SigningConfigType</a></div><div class="ttdeci">SigningConfigType</div><div class="ttdef"><b>Definition:</b> Signing.h:36</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Auth_1_1Sigv4HttpRequestSigner_html_afa436c35e981ac6ef75cc8820cc24ffe"><div class="ttname"><a href="classAws_1_1Crt_1_1Auth_1_1Sigv4HttpRequestSigner.html#afa436c35e981ac6ef75cc8820cc24ffe">Aws::Crt::Auth::Sigv4HttpRequestSigner::~Sigv4HttpRequestSigner</a></div><div class="ttdeci">virtual ~Sigv4HttpRequestSigner()=default</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_a14ac076b0baa520bccb2b7236e4e78b7"><div class="ttname"><a href="namespaceAws_1_1Crt.html#a14ac076b0baa520bccb2b7236e4e78b7">Aws::Crt::ByteCursor</a></div><div class="ttdeci">aws_byte_cursor ByteCursor</div><div class="ttdef"><b>Definition:</b> Types.h:44</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_1_1Auth_html_a2dae3616cc28c9641c037670522fa82fae2e7451290556296174fcf51aa9e04b5"><div class="ttname"><a href="namespaceAws_1_1Crt_1_1Auth.html#a2dae3616cc28c9641c037670522fa82fae2e7451290556296174fcf51aa9e04b5">Aws::Crt::Auth::BodySigningType::SignBody</a></div><div class="ttdeci">@ SignBody</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Auth_1_1Sigv4HttpRequestSigner_html"><div class="ttname"><a href="classAws_1_1Crt_1_1Auth_1_1Sigv4HttpRequestSigner.html">Aws::Crt::Auth::Sigv4HttpRequestSigner</a></div><div class="ttdef"><b>Definition:</b> Sigv4Signing.h:180</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_1_1Auth_html_a2dae3616cc28c9641c037670522fa82fa17ab50670d700559bf55dcbb5502beab"><div class="ttname"><a href="namespaceAws_1_1Crt_1_1Auth.html#a2dae3616cc28c9641c037670522fa82fa17ab50670d700559bf55dcbb5502beab">Aws::Crt::Auth::BodySigningType::NoSigning</a></div><div class="ttdeci">@ NoSigning</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_a7178ef65f261a8db52a624458331bbb2"><div class="ttname"><a href="namespaceAws_1_1Crt.html#a7178ef65f261a8db52a624458331bbb2">Aws::Crt::g_allocator</a></div><div class="ttdeci">Allocator * g_allocator</div><div class="ttdef"><b>Definition:</b> Api.cpp:28</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_1_1Auth_html_ab868555de9b6145263d1f942033fdf5e"><div class="ttname"><a href="namespaceAws_1_1Crt_1_1Auth.html#ab868555de9b6145263d1f942033fdf5e">Aws::Crt::Auth::ShouldSignParameterCb</a></div><div class="ttdeci">bool(*)(const Crt::ByteCursor *, void *) ShouldSignParameterCb</div><div class="ttdef"><b>Definition:</b> Sigv4Signing.h:50</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner_html"><div class="ttname"><a href="classAws_1_1Crt_1_1Auth_1_1IHttpRequestSigner.html">Aws::Crt::Auth::IHttpRequestSigner</a></div><div class="ttdef"><b>Definition:</b> Signing.h:73</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Auth_1_1ICredentialsProvider_html"><div class="ttname"><a href="classAws_1_1Crt_1_1Auth_1_1ICredentialsProvider.html">Aws::Crt::Auth::ICredentialsProvider</a></div><div class="ttdef"><b>Definition:</b> Credentials.h:97</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Auth_1_1AwsSigningConfig_html"><div class="ttname"><a href="classAws_1_1Crt_1_1Auth_1_1AwsSigningConfig.html">Aws::Crt::Auth::AwsSigningConfig</a></div><div class="ttdef"><b>Definition:</b> Sigv4Signing.h:57</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Auth_1_1Sigv4HttpRequestSigner_html_aa7611bb9aad70da12e29b9fac88a5740"><div class="ttname"><a href="classAws_1_1Crt_1_1Auth_1_1Sigv4HttpRequestSigner.html#aa7611bb9aad70da12e29b9fac88a5740">Aws::Crt::Auth::Sigv4HttpRequestSigner::IsValid</a></div><div class="ttdeci">bool IsValid() const override</div><div class="ttdef"><b>Definition:</b> Sigv4Signing.h:185</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1Auth_1_1AwsSigningConfig_html_aaf9b0dd90f5a8cb580bd6ad76cab5b72"><div class="ttname"><a href="classAws_1_1Crt_1_1Auth_1_1AwsSigningConfig.html#aaf9b0dd90f5a8cb580bd6ad76cab5b72">Aws::Crt::Auth::AwsSigningConfig::GetType</a></div><div class="ttdeci">virtual SigningConfigType GetType() const noexcept override</div><div class="ttdef"><b>Definition:</b> Sigv4Signing.h:62</div></div>
<div class="ttc" id="anamespaceAws_html"><div class="ttname"><a href="namespaceAws.html">Aws</a></div><div class="ttdef"><b>Definition:</b> Api.h:25</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_1_1Auth_html_a2dae3616cc28c9641c037670522fa82f"><div class="ttname"><a href="namespaceAws_1_1Crt_1_1Auth.html#a2dae3616cc28c9641c037670522fa82f">Aws::Crt::Auth::BodySigningType</a></div><div class="ttdeci">BodySigningType</div><div class="ttdef"><b>Definition:</b> Sigv4Signing.h:44</div></div>
<div class="ttc" id="aExports_8h_html"><div class="ttname"><a href="Exports_8h.html">Exports.h</a></div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_1_1Auth_html_ab4ca80a8fc66d38af49bf5431b5c8ebf"><div class="ttname"><a href="namespaceAws_1_1Crt_1_1Auth.html#ab4ca80a8fc66d38af49bf5431b5c8ebf">Aws::Crt::Auth::OnHttpRequestSigningComplete</a></div><div class="ttdeci">std::function&lt; void(const std::shared_ptr&lt; Aws::Crt::Http::HttpRequest &gt; &amp;, int)&gt; OnHttpRequestSigningComplete</div><div class="ttdef"><b>Definition:</b> Signing.h:45</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_1_1Auth_html_a2dae3616cc28c9641c037670522fa82fa480ddd271dcdbffedbeb497c620d9ecc"><div class="ttname"><a href="namespaceAws_1_1Crt_1_1Auth.html#a2dae3616cc28c9641c037670522fa82fa480ddd271dcdbffedbeb497c620d9ecc">Aws::Crt::Auth::BodySigningType::UnsignedPayload</a></div><div class="ttdeci">@ UnsignedPayload</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_1_1Auth_html_a1ffa3d1dd5b6b4b4c917b5fff2a00bf1acc92a89d16aa4fe64e36cbbd7c0cfaac"><div class="ttname"><a href="namespaceAws_1_1Crt_1_1Auth.html#a1ffa3d1dd5b6b4b4c917b5fff2a00bf1acc92a89d16aa4fe64e36cbbd7c0cfaac">Aws::Crt::Auth::SigningConfigType::Aws</a></div><div class="ttdeci">@ Aws</div></div>
<div class="ttc" id="aSigning_8h_html"><div class="ttname"><a href="Signing_8h.html">Signing.h</a></div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_a865381ab2bc5db45524fa6ce43c394c3"><div class="ttname"><a href="namespaceAws_1_1Crt.html#a865381ab2bc5db45524fa6ce43c394c3">Aws::Crt::String</a></div><div class="ttdeci">std::basic_string&lt; char, std::char_traits&lt; char &gt;, StlAllocator&lt; char &gt; &gt; String</div><div class="ttdef"><b>Definition:</b> Types.h:58</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1DateTime_html"><div class="ttname"><a href="classAws_1_1Crt_1_1DateTime.html">Aws::Crt::DateTime</a></div><div class="ttdef"><b>Definition:</b> DateTime.h:63</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
